#ifndef SOCKTCP_H
#define SOCKTCP_H

#include "ThreadObject.h"
#include "Traductor.h"

#include <list>

#define BUFSIZE 200
#define PORT_TCP 4242

class SockTCP:public ThreadObject, Traductor
{
	protected :
		void Run();
		std::list<int> mClients;

	public :
		SockTCP(Robot*);
		virtual ~SockTCP();
		
		virtual void launch();
		
		void writeMsg();
		int readMsg();
};

#endif
